package indoor.nexd.com.nexdmap.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ScrollView;

public class  MyScrollView extends ScrollView {
  public static boolean bTouchEfficent = true;

	public MyScrollView(Context context) {
		super(context);
		bTouchEfficent = true;
	}

	public MyScrollView(Context context, AttributeSet attrs) {
		super(context, attrs);
		bTouchEfficent = true;
	}

	public MyScrollView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		bTouchEfficent = true;
	}

	@Override
	public boolean onInterceptTouchEvent(MotionEvent ev) {
		return bTouchEfficent ? super.onInterceptTouchEvent(ev)
				: bTouchEfficent;
	}
}